package com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nanhai.buddhist.college.framework.excel.core.annotations.DictFormat;
import com.nanhai.buddhist.college.framework.excel.core.convert.DictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 奖励惩罚表 Excel VO
 *
 * @author AKai
 */
@Data
public class StudentRewardPunishExcelVO {

    @ExcelProperty("主键id")
    private String id;

    @ExcelProperty("名称")
    private String name;

    @ExcelProperty(value = "类型区分", converter = DictConvert.class)
    @DictFormat("student_reward_punish") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String type;

    @ExcelProperty("内容")
    private String details;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("备注")
    private String remark;

}
